:root{
  --bg: #0D1116;
  --bg-soft: #131820;
  --surface: #171D26;
  --surface-2: #1D2530;
  --border: #262F3B;
  --text: #ECEFF3;
  --text-muted: #8B96A5;
  --accent: #5EEAD4;
  --accent-2: #38BDF8;
  --accent-deep: #0F766E;
  --radius-lg: 26px;
  --radius-md: 18px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text-muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img{ max-width:100%; display:block; }
h1,h2,h3{ font-family: var(--font-display); color: var(--text); margin:0; font-weight:600; }
p{ margin:0; }
a{ text-decoration:none; color:inherit; }

.wrap{ max-width: 1080px; margin:0 auto; padding: 0 24px; position:relative; z-index:1; }

/* Ambient glow accents */
.glow{ position: fixed; border-radius:50%; filter: blur(90px); z-index:0; pointer-events:none; }
.glow-1{ width:520px; height:520px; background: radial-gradient(circle, rgba(94,234,212,0.16), transparent 70%); top:-160px; right:-120px; }
.glow-2{ width:460px; height:460px; background: radial-gradient(circle, rgba(56,189,248,0.12), transparent 70%); bottom:-140px; left:-140px; }

/* Header */
.site-header{
  position: sticky; top:0; z-index:20;
  background: rgba(13,17,22,0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:72px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-logo{ width:32px; height:32px; object-fit:contain; }
.brand-logo-sm{ width:26px; height:26px; }
.brand-name{ font-family: var(--font-display); font-weight:600; font-size:1.05rem; color: var(--text); }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight:600;
  font-size: 0.98rem;
  border:none; cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06141A;
  box-shadow: 0 20px 40px -16px rgba(94,234,212,0.35);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 26px 50px -14px rgba(94,234,212,0.5); }
.btn-lg{ padding: 17px 40px; font-size: 1.05rem; }
.btn-ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 20px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight:600;
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }

.link-btn{
  background:none; border:none; cursor:pointer;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight:600;
  font-size:0.9rem;
}
.link-btn:hover{ color: var(--accent-2); }

/* Hero */
.hero{ padding: 68px 0 48px; }
.hero-inner{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:52px; align-items:center; }

.eyebrow{
  display:inline-block;
  font-family: var(--font-display);
  font-weight:600;
  font-size:0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid rgba(94,234,212,0.3);
  border-radius: 100px;
  background: rgba(94,234,212,0.06);
  margin-bottom: 22px;
}
.hero h1{
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height:1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .accent{
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead{ font-size:1.04rem; line-height:1.65; max-width: 46ch; margin-bottom: 32px; }
.hero-actions{ margin-bottom:14px; }
.hero-note{ font-size:0.84rem; color: #5C6779; }

/* Hero visual: orb card */
.hero-visual{ display:flex; justify-content:center; }
.orb-card{
  width:100%;
  max-width: 320px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 26px 30px;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6);
  position: relative;
}
.orb-top{ display:flex; gap:6px; margin-bottom:22px; }
.orb-dot{ width:8px; height:8px; border-radius:50%; background: var(--border); }
.orb-dot:first-child{ background: var(--accent); }

.orb-label{ font-size:0.85rem; color: var(--text-muted); margin-bottom:8px; }
.orb-amount{ font-family: var(--font-display); font-weight:700; font-size:2.3rem; color: var(--text); margin-bottom:22px; }
.orb-amount span{ font-size:1.2rem; color: var(--accent); }

.orb-track{ height:8px; border-radius:100px; background: var(--bg-soft); overflow:hidden; margin-bottom:14px; }
.orb-fill{
  height:100%; width: 68%; border-radius:100px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  animation: fillIn 1.4s ease-out;
}
@keyframes fillIn{ from{ width:0; } to{ width:68%; } }

.orb-meta{ display:flex; justify-content:space-between; font-size:0.78rem; color: #5C6779; }

/* Features */
.features{ padding: 60px 0 76px; }
.section-title{ font-size: clamp(1.6rem, 3vw, 2.2rem); text-align:center; }
.section-sub{ text-align:center; color: var(--text-muted); max-width: 52ch; margin: 14px auto 44px; font-size:1rem; }

.grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; }
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
  position: relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(94,234,212,0.06), transparent 60%);
  opacity:0;
  transition: opacity .22s ease;
}
.card:hover{ transform: translateY(-5px); border-color: rgba(94,234,212,0.35); }
.card:hover::before{ opacity:1; }

.card-icon{
  width:46px; height:46px;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px;
  background: rgba(94,234,212,0.08);
  color: var(--accent);
  position:relative; z-index:1;
}
.card-icon svg{ width:23px; height:23px; }
.card h3{ font-size:1.05rem; margin-bottom:9px; position:relative; z-index:1; }
.card p{ font-size:0.89rem; line-height:1.55; position:relative; z-index:1; }

/* CTA */
.cta{ padding: 10px 0 90px; }
.cta-inner{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align:center;
  overflow:hidden;
}
.cta-glow{
  position:absolute; width:400px; height:400px; border-radius:50%;
  background: radial-gradient(circle, rgba(94,234,212,0.14), transparent 70%);
  top:-160px; left:50%; transform: translateX(-50%);
  filter: blur(40px);
}
.cta-inner h2{ font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom:14px; position:relative; }
.cta-inner p{ color: var(--text-muted); max-width:48ch; margin: 0 auto 30px; position:relative; }
.cta-inner .btn{ position:relative; }

/* Footer */
.site-footer{ border-top: 1px solid var(--border); padding: 34px 0 42px; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; }
.brand-footer{ font-weight:600; font-family: var(--font-display); color: var(--text); }
.footer-copy{ font-size:0.8rem; color: #5C6779; }

/* Policy panel */
.policy-overlay{
  position:fixed; inset:0;
  background: rgba(5,8,11,0.6);
  backdrop-filter: blur(2px);
  opacity:0; pointer-events:none;
  transition: opacity .28s ease;
  z-index:40;
}
.policy-overlay.active{ opacity:1; pointer-events:auto; }

.policy-panel{
  position:fixed; top:0; right:0; height:100%;
  width: min(460px, 92vw);
  background: var(--bg-soft);
  border-left: 1px solid var(--border);
  z-index:50;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22,.9,.3,1);
  display:flex; flex-direction:column;
}
.policy-panel.active{ transform: translateX(0); }

.policy-head{
  position: sticky; top:0;
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  z-index:2;
}
.policy-head h2{ font-size:1.08rem; color: var(--text); }
.policy-close{
  width:38px; height:38px; border-radius:50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  flex-shrink:0;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.policy-close svg{ width:16px; height:16px; }
.policy-close:hover{ background: rgba(94,234,212,0.1); border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }

.policy-body{
  padding: 22px 24px 40px;
  overflow-y:auto;
  font-size:0.88rem;
  line-height:1.65;
  color: var(--text-muted);
}
.policy-body h3{ font-size:0.98rem; color: var(--text); margin: 22px 0 8px; }
.policy-body h3:first-child{ margin-top:0; }
.policy-body p{ margin-bottom:10px; }
.policy-body ul{ margin-bottom:12px; padding-left:1.2em; }
.policy-body li{ margin-bottom:4px; }
.policy-gen{ margin-top:22px; font-size:0.76rem; opacity:0.6; }

/* Scrollbar for policy */
.policy-body::-webkit-scrollbar{ width:6px; }
.policy-body::-webkit-scrollbar-thumb{ background: var(--border); border-radius:10px; }

/* Responsive */
@media (max-width: 880px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; }
  .orb-card{ max-width:300px; margin:0 auto; }
}
@media (max-width: 520px){
  .grid{ grid-template-columns: 1fr; }
  .cta-inner{ padding:44px 26px; }
}

@media (prefers-reduced-motion: reduce){
  .orb-fill{ animation:none; }
  html{ scroll-behavior:auto; }
}

:focus-visible{ outline: 2px solid var(--accent); outline-offset:2px; }
